deletePolicy
Delete a single policy
GraphQL Schema
extend type mutation {
"""Delete a single policy"""
deletePolicy(input: DeletePolicyInput): DeletePolicyPayload
}
Arguments
| Name | Type | Description |
|---|---|---|
| input | [DeletePolicyInput](/04-reference/05-Input Objects/DeletePolicyInput.mdx) |
Response Shape
This mutation returns DeletePolicyPayload
| Name | Type | Description |
|---|---|---|
| success | Boolean! | Whether the mutation was successful |
| error | ErrorType | Error information |